def make_album(name,album,nums=None):
    new_album ={'name':name,'album':album}
    if nums:
        new_album['nums']=nums
    return new_album

while True:
    print("\nPlease tell us album's info (enter 'q' to finish this program)")
    name = input("singer name:")
    if name == 'q':
        break
    album_name= input("album_name:")
    if name =='q':
        break
    print(make_album(name,album_name))